import {
    configureStore
} from '@reduxjs/toolkit'

//引入暴露的reducer
import countReducer from './slice/countSlice'
import movieReducer from './slice/movieSlice'

const store = configureStore({
    reducer:{
        count:countReducer,
        movie:movieReducer
    }
})


// Action 是把数据从应用传到 store 的有效载荷。它是 store 数据的唯一来源
export default store